#pragma once
#include "Object.h"
class Sprite;
class Box;
class Cannon :
	public Object
{
public:


private :
	Sprite* _sAppear;
	Sprite* _sGun;	
	bool _isShooting;
	bool _isStop;
	float _angle;
	int index;
	int count;
public:
	Cannon(Box*);
	~Cannon(void);
	void init();
	void update();
	void render();
	float SetAngle();
};

